package org.example.studentsystem_back.service;

import org.example.studentsystem_back.common.CommonResponse;
import org.example.studentsystem_back.domain.Building;
import com.baomidou.mybatisplus.extension.service.IService;
import org.example.studentsystem_back.dto.PageDTO;
import org.example.studentsystem_back.vo.buildingMangeVo.BuildingVo;

/**
* @author 马鑫
* @description 针对表【building】的数据库操作Service
* @createDate 2024-07-12 09:30:33
*/
public interface BuildingService extends IService<Building> {
    CommonResponse<BuildingVo> findAll(PageDTO pageDTO, String id);
    CommonResponse<Building> add(Building building);
    CommonResponse<Building> update(Building building);
    CommonResponse<Building> delete(Building building);
}
